package com.ruoyi.dr.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 粉丝购买偏好  关联daren_home_fans_data 对象 dr_home_fans_like
 * 
 * @author ruoyi
 * @date 2025-07-12
 */
public class DrHomeFansLike extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 用户id */
    @Excel(name = "用户id")
    private String uid;

    /** 购买产品   buying_preference */
    @Excel(name = "购买产品   buying_preference")
    private String detailsName;

    /** 比例：json格式   buying_preference */
    @Excel(name = "比例：json格式   buying_preference")
    private BigDecimal detailsRatio;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setUid(String uid) 
    {
        this.uid = uid;
    }

    public String getUid() 
    {
        return uid;
    }

    public void setDetailsName(String detailsName) 
    {
        this.detailsName = detailsName;
    }

    public String getDetailsName() 
    {
        return detailsName;
    }

    public void setDetailsRatio(BigDecimal detailsRatio) 
    {
        this.detailsRatio = detailsRatio;
    }

    public BigDecimal getDetailsRatio() 
    {
        return detailsRatio;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("uid", getUid())
            .append("detailsName", getDetailsName())
            .append("detailsRatio", getDetailsRatio())
            .toString();
    }
}
